package org.tiny.autounit.core.model.context;

import lombok.Data;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @author shichaoyang
 * @Description: 上下文共享信息, 一个测试类，会有一个InjectMocks，多个Mock，多个Spy
 * @date 2021-08-04 16:33
 */
@Data
public class UnitMockContext {

    //injectmocks信息
    private UnitInjectModel unitInjectModel;

    //import包名信息
    private Set<String> unitImportPackageList = new HashSet<>();

    //mock列表信息
    private List<UnitMockModel> unitMockModelList = new ArrayList<>();

    //spy列表信息
    private List<UnitSpyModel> unitSpyModelList = new ArrayList<>();

    //入参变量名列表
    private List<String> inputParamVariables = new ArrayList<>();

    //返回值对象类型
    private String returnType;

}
